package com.baocai.tools_redis.dao.mapper;

import com.baocai.tools_redis.modal.RedPacketRecord;
import com.baocai.tools_redis.modal.RedPacketRecordExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface RedPacketRecordMapper {
    int countByExample(RedPacketRecordExample example);

    int deleteByExample(RedPacketRecordExample example);

    int insert(RedPacketRecord record);

    int insertSelective(RedPacketRecord record);

    List<RedPacketRecord> selectByExample(RedPacketRecordExample example);

    int updateByExampleSelective(@Param("record") RedPacketRecord record, @Param("example") RedPacketRecordExample example);

    int updateByExample(@Param("record") RedPacketRecord record, @Param("example") RedPacketRecordExample example);
}